package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.StudentTeacher;
import cn.tedu.blackhorse.pojo.vo.StudentStandardVO;
import cn.tedu.blackhorse.pojo.vo.StudentTeacherListItemVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentTeacherMapper {
    int insert(StudentTeacher studentTeacher);

    int deleteByStudentId(Long studentId);

    int deleteByIds(List<Long> ids);

    int updateById(StudentTeacher studentTeacher);

    int count();

    List<StudentTeacherListItemVO> list();

    StudentStandardVO getById(Long id);
}
